
public class test5 {

		public static void main(String[] args)
		{
			int a = 5;
			int n = 0;
			while(a>n)
			{
				int i = 5;
				while(i>=a){
					System.out.print(a);
					i--;
				}
				a--;
				System.out.println();
			}

}
}